import { post } from '@/utils/request'

export async function postData(functionMethod, searchObject) {
	//集合
	let param = {}
	param.model = functionMethod;
	param.filters = searchObject
	return  await post("/data/selectOne", param);
}


export async function postList(functionMethod, searchObject) {
	//集合
	let param = {}
	param.model = functionMethod;
	param.filters = searchObject
	return  await post("/data/list", param);
}

